package com.yzkj.cpjxc.business.domain;

import com.yzkj.cpjxc.business.constants.SysLogConstants;
import org.apache.ibatis.type.Alias;

/**
 * 系统日志页面显示
 */
@Alias("SysLogShowVo")
public class SysLogShowVo extends SysLog {

	private static final long serialVersionUID = 1990308557716943216L;

	/**
	 * 日志类型类型中文
	 */
	private String operationTypeName;

	/**
	 * 操作动作中文
	 */
	private String operationActionName;

	public String getOperationTypeName() {
		return SysLogConstants.getLogTypeMap().get(this.getLogType());
	}

	public void setOperationTypeName(String operationTypeName) {
		this.operationTypeName = operationTypeName;
	}

	public String getOperationActionName() {
		return SysLogConstants.getOperActionMap().get(this.getOperationAction());
	}

	public void setOperationActionName(String operationActionName) {
		this.operationActionName = operationActionName;
	}

}
